package com.lyl.cloud.service;

import com.lyl.cloud.common.base.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(name = "CLOUD-PROVIDER-PAYMENT-SERVICE")
public interface PaymentService {

    @GetMapping("/test2")
    public Result test2();

    @GetMapping("/test")
    public String test();

}
